<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>
			<%= htmlWebpackPlugin.options.title%>
		</title>
		<script>
			<%= compilation.assets[htmlWebpackPlugin.files.chunks.main.entry.substr(htmlWebpackPlugin.files.publicPath.length)].source()%>
		</script>
	</head>

	<body>
		<% for(var key in htmlWebpackPlugin.files.chunks){ %>

		<% if(key !== 'main'){ %>

		<script type="text/javascript" src="<%= htmlWebpackPlugin.files.chunks[key].entry %>"></script>

		<% } %>

		<% } %> hello world
	</body>

</html>